<template>
  <div class="app-container">
    <Tinymce ref="editor" v-model="content" :height="400" />
    <button type="primary" @click="save">保存</button>
  </div>
</template>

<script>
import Tinymce from '@/components/Tinymce'
export default {
  components:{
    Tinymce
  },
  data(){
    return{
      content: ''
    }
  },
  mounted(){
    console.log(this.$route.params)
  },
  methods: {
    init(){
      console.log(this.content)
    },
    save(){
      console.log(this.content)
    }
  }
}
</script>

<style scoped>

</style>